package com.itheima.opp1;

public class Student {
    private String name;
    private int age;
    //无参构造方法
    public Student(){
        System.out.println("我是Student类的构造方法");
    }
    //
    public Student(String name,int age){
        this.name=name;
        this.age=age;
    }
    public void show(){

    }

}
